<template>
  <a-form
      layout="vertical"
      :model="activeData.props"
      name="basic"
      autocomplete="off"
  >
    <a-form-item
        label="标题"
        name="title"
        :rules="[{ required: true, message: '请输入问卷标题' }]"
    >
      <a-input v-model:value="activeData.props.title" :disabled="activeData.isLocked"/>
    </a-form-item>
    <a-form-item
        label="描述"
        name="desc"
    >
      <a-textarea v-model:value="activeData.props.desc" :disabled="activeData.isLocked"/>
    </a-form-item>
  </a-form>
</template>
<script setup>
import useQuestion from "../../hooks/useQuestion.js";
const {activeData} = useQuestion()
</script>


